

{%extends "base.html" %}

{% block mainbody %}

      <div class="col-md-12 column">
      <lable>

      <form class="navbar-form navbar-left" role="search" action="{% url 'addArticle' %}"   enctype="multipart/form-data" method="post">
        {% csrf_token %}
       


                    
                           {{ ArticleForm.as_p }}

                        <button type="submit" class="btn btn-default">提交</button>
                    </form>

                    <script language="javascript">
var $editor = $("#id_content");
    $editor.markdown({
      height:300,
      onShow: function () { 
      }
});



</script>

                    </div>



{% endblock %}
